<fieldset class="solid">
	<legend>#((flighttickets == null||flighttickets.id == null)?'创建机票':'修改机票')</legend>
	<input type="hidden" name="flighttickets.id" value="#(flighttickets.id??)" />
	<div>
		<label>机票编号:</label>
		<input type="text" name="flighttickets.flightticketsno" value="#(flighttickets.flightticketsno??)" />#(flightticketsnoMsg)
	</div>
	<div>
		<label>航班编号:</label>
		<!--<input type="text" name="flighttime.flighttimeno" value="#(flighttime.flighttimeno??)" />#(flighttimenoMsg)-->
        <!--#(flighttimes)-->
		<select name="flighttickets.flighttimeid">
			<option value="">请选择相应航班编号</option>
			#for(x : flighttimes)
				#if(flighttickets.flighttimeid??!=null && x.id == flighttickets.flighttimeid)
					<option value="#(x.id)" selected="selected">#(x.flighttimeno)</option>
				#else
					<option value="#(x.id)">#(x.flighttimeno)</option>
				#end
			#end
		</select>#(flighttimeidMsg)

	</div>
	<div>
		<label>机票类型:</label>
		<!--<input type="text" name="flighttime.flighttimeno" value="#(flighttime.flighttimeno??)" />#(flighttimenoMsg)-->
        <!--#(tickettypes)-->
		<!--#(flighttickets.tickettype??)-->
		<select name="flighttickets.tickettype">
			<option value="">请选择相应机票类型</option>
			#for(x : tickettypes)
				#if(flighttickets.tickettype??!=null && x.code_value == flighttickets.tickettype.toString()??)
					<option value="#(x.code_value)" selected="selected">#(x.code_display)</option>
				#else
					<option value="#(x.code_value)">#(x.code_display)</option>
				#end
			#end
		</select>#(tickettypeMsg)
	</div>
	<div>
		<label>机票单价:</label>
		<input type="text" name="flighttickets.price" value="#(flighttickets.price??)" />#(priceMsg)
	</div>
	<div>
		<label>机票数量:</label>
		<input type="text" name="flighttickets.num" value="#(flighttickets.num??)" />#(numMsg)
	</div>
	<div>
		<label>&nbsp;</label>
		<input value="#((flighttickets == null||flighttickets.id == null)?'创建':'修改')" type="submit">
	</div>
</fieldset>